package com.Test;

import com.Test.bean.Student;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext test = new ClassPathXmlApplicationContext("applicationContext.xml");
        Student student = (Student) test.getBean("student");
        System.out.println(student);
    }
}
